#-----------------------------#
# pyLotBase/cmake/Modules
#-----------------------------#

FILE(GLOB CMAKEFILES "*.cmake"
    FindPyLot.cmake PATTERN EXCLUDE)
INSTALL(FILES ${CMAKEFILES} DESTINATION ${PYLOTPATH_CMAKE}/Modules)

CONFIGURE_FILE(
  ${CMAKE_CURRENT_SOURCE_DIR}/FindPyLot.cmake.in
  ${CMAKE_CURRENT_BINARY_DIR}/FindPyLot.cmake @ONLY
  )
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/FindPyLot.cmake DESTINATION ${PYLOTPATH_CMAKE}/Modules)
